<template>
  <div class="test2">
    <el-card class="box-card">
      <template #header>
        <div class="card-header">
          <span>测试页面2</span>
        </div>
      </template>
      <div class="content">
        <h2>测试内容</h2>
        <p>这是测试页面2的内容</p>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'Test2',
}
</script>

<style scoped>
.test2 {
  padding: 20px;
}
.box-card {
  width: 100%;
  margin-bottom: 20px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content {
  padding: 20px;
}
h2 {
  margin-bottom: 20px;
  color: #409EFF;
}
p {
  line-height: 2;
  color: #606266;
}
</style>
